﻿using System;
using System.Web.Mvc;

using CSharpToJavascript;

namespace DemoProject.Controllers {

	public class ToJavascriptController : Controller {

		[OutputCache(Duration = 3600)]
		public ActionResult Index() {
			return Content(JavascriptGenerator.CreateOutput(), "text/javascript");
		}
	}
}